package com.zp.base;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author 张鹏
 */
@SpringBootApplication
@EnableAspectJAutoProxy  //开启AOP注解
@ServletComponentScan  //可以自动扫描使用@WebServlet、@WebFilter和@WebListener注解的类完成自动注册。
@MapperScan(basePackages = {"com.zp.base.admin.dao"})
public class BaseSpringbootProjectApplication {

    public static void main(String[] args) {
        SpringApplication.run(BaseSpringbootProjectApplication.class, args);
    }

}
